﻿namespace Admin.NET.Core.Btms;

[SugarTable("TraShenQingYongXue", "输血申请用血表")]
public class TraShenQingYongXue : EntityBaseStringId, ITenantIdFilter
{
    /// <summary>
    /// 租户Id
    /// </summary>
    [SugarColumn(ColumnDescription = "租户Id", IsOnlyIgnoreUpdate = true)]
    public long? TenantId { get; set; }

    [SugarColumn(ColumnDescription = "用血类型", Length = 50)]
    public string yongXueLeiXing { get; set; } = "";

    [SugarColumn(ColumnDescription = "输血目的", Length = 255)]
    public string shuXueMuDi { get; set; } = "";

    [SugarColumn(ColumnDescription = "申请ABO", Length = 50)]
    public string shenQingABO { get; set; } = "";

    [SugarColumn(ColumnDescription = "申请RHD", Length = 50)]
    public string shenQingRhD { get; set; } = "";

    [SugarColumn(ColumnDescription = "申请多品种")]
    public bool shenQingDuoPinZhong { get; set; } = false;

    [SugarColumn(ColumnDescription = "申请品种-Id")]
    public long? shenQingPinZhong { get; set; }

    [SugarColumn(ColumnDescription = "申请量", Length = 16, DecimalDigits = 2)]
    public decimal? shenQingLiang { get; set; }

    [SugarColumn(ColumnDescription = "用血时间")]
    public DateTime? yongXueShiJian { get; set; }

    [SugarColumn(ColumnDescription = "特殊处理", Length = 100)]
    public string teShuChuLi { get; set; } = "";

    [SugarColumn(ColumnDescription = "申请品种2-Id")]
    public long? shenQingPinZhong2 { get; set; }

    [SugarColumn(ColumnDescription = "申请量2", Length = 16, DecimalDigits = 2)]
    public decimal? shenQingLiang2 { get; set; }

    [SugarColumn(ColumnDescription = "用血时间2")]
    public DateTime? yongXueShiJian2 { get; set; }

    [SugarColumn(ColumnDescription = "特殊处理2", Length = 100)]
    public string teShuChuLi2 { get; set; } = "";

    [SugarColumn(ColumnDescription = "申请品种3-Id", Length = 255)]
    public long? shenQingPinZhong3 { get; set; }

    [SugarColumn(ColumnDescription = "申请量3", Length = 16, DecimalDigits = 2)]
    public decimal? shenQingLiang3 { get; set; }

    [SugarColumn(ColumnDescription = "用血时间3")]
    public DateTime? yongXueShiJian3 { get; set; }

    [SugarColumn(ColumnDescription = "特殊处理3", Length = 100)]
    public string teShuChuLi3 { get; set; } = "";

    [SugarColumn(ColumnDescription = "输血科反馈", Length = 255)]
    public string shuXueKeFanKui { get; set; } = "";

    [SugarColumn(ColumnDescription = "用血备注", Length = 255)]
    public string yongXueBeiZhu { get; set; } = "";

}
